package cn.sdstudio.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.math.BigDecimal;


import com.baomidou.mybatisplus.annotation.TableName;
import cn.sdstudio.model.BaseEntity;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = false)
@TableName("scenic_spot")
public class ScenicSpot extends BaseEntity {
    @TableField("name")
    private String name;

    @TableField("cover_image")
    private String coverImage;

    @TableField("description")
    private String description;

    @TableField("address")
    private String address;

    @TableField("province")
    private String province;

    @TableField("city")
    private String city;

    @TableField("longitude")
    private BigDecimal longitude;

    @TableField("latitude")
    private BigDecimal latitude;

    @TableField("grade")
    private String grade;

    @TableField("open_time")
    private String openTime;

    @TableField("ticket_info")
    private String ticketInfo;

    @TableField("avg_score")
    private BigDecimal avgScore;

    @TableField("review_count")
    private Integer reviewCount;

    @TableField("view_count")
    private Integer viewCount;

    @TableField("status")
    private Integer status;
}
